# 此文件尝试分离vtkITK模块

import os.path

import vtk
import vtkITKPython
import SimpleITK as sitk

study_folder = "DicomFlipTestData/3435390"
series_id = "1.2.840.113704.1.111.6344.1712630922.12"

# sitk_reader = sitk.ImageSeriesReader()
# files = sitk_reader.GetGDCMSeriesFileNames(study_folder, series_id)
# print(files)

test_files = os.path.join(study_folder, "1.2.840.113704.1.111.5436.1712630942.15748.dcm")
reader = sitk.ImageSeriesReader()
reader.SetImageIO("DCMTKImageIO")  # GDCMImageIO
